﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace User.Api.Models
{
    /// <summary>
    /// 驾驶证添加接口 请求参数对象
    /// </summary>
    public class ReqDrivingLicenseUpdate
    {

        ///<summary>
        ///
        ///</summary>
        [Description("驾驶证ID")]
        [DataMember]
        public int DrivingLicenseID { get; set; }

        ///<summary>
        ///用户ID
        ///</summary>
        [Description("用户ID")]
        [DataMember]
        public long UserID { get; set; }

        ///<summary>
        ///证号
        ///</summary>
        [Description("证号")]
        [DataMember]
        public string DrivingLicenseCode { get; set; }

        ///<summary>
        ///姓名
        ///</summary>
        [Description("姓名")]
        [DataMember]
        public string Name { get; set; }

        ///<summary>
        ///性别(1:男2：女)
        ///</summary>
        [Description("性别(1:男2：女)")]
        [DataMember]
        public int Sex { get; set; }

        ///<summary>
        ///国籍
        ///</summary>
        [Description("国籍")]
        [DataMember]
        public string Nationality { get; set; }

        ///<summary>
        ///住址
        ///</summary>
        [Description("住址")]
        [DataMember]
        public string Address { get; set; }

        ///<summary>
        ///出生日期
        ///</summary>
        [Description("出生日期")]
        [DataMember]
        public DateTime BirthDate { get; set; }

        ///<summary>
        ///初次领证日期
        ///</summary>
        [Description("初次领证日期")]
        [DataMember]
        public DateTime FirstIssueDate { get; set; }

        ///<summary>
        ///准驾车型
        ///</summary>
        [Description("准驾车型")]
        [DataMember]
        public string LicenseClass { get; set; }

        ///<summary>
        ///开始有效日期
        ///</summary>
        [Description("开始有效日期")]
        [DataMember]
        public DateTime BeginValidPeroid { get; set; }

        ///<summary>
        ///结束有效日期
        ///</summary>
        [Description("结束有效日期")]
        [DataMember]
        public DateTime EndValidPeroid { get; set; }

        ///<summary>
        ///发证机构
        ///</summary>
        [Description("发证机构")]
        [DataMember]
        public string Dep { get; set; }

        ///<summary>
        ///照片地址
        ///</summary>
        [Description("照片地址")]
        [DataMember]
        public string PicPath { get; set; }

        ///<summary>
        ///城市(通过地址分析得出)
        ///</summary>
        [Description("城市(通过地址分析得出)")]
        [DataMember]
        public string City { get; set; }
    }
}